//TIP 要<b>运行</b>代码，请按 <shortcut actionId="Run"/> 或
// 点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
public class Main {
    public static void main(String[] args) {
      LoanCalculator LoanCalculator=new LoanCalculator(100,360,0.049);
      LoanCalculator.avgCaption();
      LoanCalculator.avgInterest();
      LoanCalculator.print(1);
    }
}